<include file="App/Home/View/Public/header.html"/>
			<!-- BEGIN PAGE CONTENT-->
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN SAMPLE TABLE PORTLET-->
					<div class="portlet box blue">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-cogs"></i>VR积分卖出记录
							</div>
							<div class="tools">
								<a href="javascript:;" class="collapse">
								</a>
								<a href="#portlet-config" data-toggle="modal" class="config">
								</a>
								<a href="javascript:;" class="reload">
								</a>
								<a href="javascript:;" class="remove">
								</a>
							</div>
						</div>
						<div class="portlet-body">
							<div class="table-responsive">
								<table class="table table-bordered">
								<thead>
								<tr>
									<th>购买单号</th>
									<th>购买数量（个）</th>
									<th>金额</th>
									<th>出售订单所属</th>
									<th>状态</th>
									<th>联系电话</th>
									<th>打款凭证</th>
                                    <th>操作</th>
								</tr>
								</thead>
								<tbody>
                            	<foreach name="list" item="vo">
								  <tr>
									<td>{$vo.id}</td>
									<td>{$vo.num}</td>
									<td>{$vo.price}</td>
									<td>{$vo.sell_name}</td>
									<td>
										<eq name="vo.status" value="0">
											等待
										</eq>
										<eq name="vo.status" value="1">
											交易成功
										</eq>
										<eq name="vo.status" value="-1">
											失效
										</eq>
									</td>
									<td>{$vo.phone}</td>
									<td>
										
										<empty name="vo.pic">
											<!-- <form action="{:U('LineDown/picUpLond')}" method="post" enctype="multipart/form-data" >
												<button ><input type="file" name='pic'></button>
												<input type="hidden" name="id" value="{$vo.id}">
												<input type='submit'>
											</form> -->
											等待对方上传
										<else />
											<button onclick="show({$vo.id})">查看凭证</button>
										</empty>
									</td>
									<td>
									<eq name="vo.status" value="-1">
										无效的记录
									</eq>
									<eq name="vo.status" value="0">
									<!--<a href="{:U('LineDown/querenPay',array('id'=>$vo['id']))}">确认付款</a>-->
									<a href="{:U('LineDown/buyDetail',array('id'=>$vo['id']))}">详情</a>
									</eq>
									<eq name="vo.status" value="1">
										等待卖方确认收款
										<a href="{:U('Mail/zixun',array('serviceUser'=>$vo['sellMember']['username']))}"><button>申请仲裁</button></a>
									</eq>
									<eq name="vo.status" value="2">
										交易成功
									</eq>
									</td>
								  </tr>
								</foreach>
								</tbody>
								</table>
							</div>
						</div>
					</div>
					<!-- END SAMPLE TABLE PORTLET-->
				</div>
			</div>
			<!-- END PAGE CONTENT-->
		</div>
	</div>
	<!-- END CONTENT -->
<include file="App/Home/View/Public/footer.html"/>